<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <script src="../org/angular.min.js"></script>
</head>
<body ng-app="hd">
<div ng-controller="ctrl">
    网站开启：
    <input type="radio" ng-model="status" ng-value="1">开启
    <input type="radio" ng-model="status" ng-value="0">关闭<br/>
    <!-- ng-value 等同于value
    <input type="radio" ng-model="status" value="1">开启
    <input type="radio" ng-model="status" value="0">关闭<br/>
    -->
    {{status}}

    <div ng-show="status==1">
        <h2>关闭原因</h2>
        <textara>后盾网维护中，下午开启！</textara>
    </div>
</div>


<script>
    var m = angular.module('hd', []);
    m.controller('ctrl', ['$scope', function ($scope) {
        $scope.status = 1;
    }]);

</script>
</body>
</html>